LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := TTF

LOCAL_SRC_FILES := ../../ZUI/thirdParty/TTF/SDL_ttf.c

ifeq ($(PM5_CONFIG),debug)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../ZUI/thirdParty/freetype/include $(LOCAL_PATH)/../../ZUI/thirdParty/SDL2/include
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DDEBUG -D_DEBUG -D_CRTDBG_MAP_ALLOC -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif

ifeq ($(PM5_CONFIG),release)
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../ZUI/thirdParty/freetype/include $(LOCAL_PATH)/../../ZUI/thirdParty/SDL2/include
  LOCAL_CPP_FEATURES := exceptions
  LOCAL_CFLAGS := -D__ANDROID__ -DNDEBUG -DSDL_STATICLIB
  include $(BUILD_STATIC_LIBRARY)
endif